package cn.ac.jaas.ljx.mybatis.model;

public class Course {

    private int id;
    private String name;
    private int teacher;
    
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getTeacher() {
        return teacher;
    }
    public void setTeacher(int teacher) {
        this.teacher = teacher;
    }
    @Override
    public String toString() {
        return "Course [id=" + id + ", name=" + name + ", teacher=" + teacher + "]";
    }
}
